<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录界面</title>
    <style>
        *{padding: 0;margin: 0;}

        .g-container{
            width: 100%;
            height: 100vh;
            background-color: #2b3c4d;

            display: flex;
            justify-content: center;
            align-items: center;
        }

        .g-container form{
            width: 400px;
            height: 250px;
            background-color: white;

            text-align: center;
        }

        .g-container form div{
          height: 30px;
          line-height: 40px;
          margin-top: 20px;
        }

        .g-container form div input{
            width: 80%;
            height: 30px;
        }

        .g-container form .m-login{
            width: 200px;
            height: 30px;
            margin-top: 30px;
        }


    </style>
</head>
<body>
    <div class="g-container">
        <form>
            <!-- 用户名 -->
            <div class="g-username">
                <label>用户名:</label>
                <input type="text" placeholder="请输入用户名">
            </div>
            <!-- 密码 -->
             <div class="g-password">
                <label>密&nbsp;&nbsp;&nbsp;码:</label>
                <input type="text" placeholder="请输入密码">
             </div>
             <!-- 登录 -->
              <button  class="m-login">登录</button>
        </form>
    </div>
</body>
</html>